<div id="main" class="clearfix">
  <!-- 左栏 -->
  <div class="page-aside">
    <!-- 会员中心菜单 -->
    <div id="member_menu" class="member-menu">
	    <a href="<{link app=b2c ctl=site_member act=index}>"><div class="huiyuanbt"><{t}><{if $is_personal == 1}>供应商中心<{elseif($is_personal == 2)}>集货员中心<{else}>会员中心<{/if}><{/t}></div></a>
      <{foreach from=$cpmenu item=menus name="menus"}>
      <div class="member-menu-mod">
        <h2 class="member-menu-title">
		<{if $is_personal == 1}>
			<{if $smarty.foreach.menus.iteration == 1}>
				<i class="iconfont">&#xe64f;</i>
			<{/if}>
		<{elseif($is_personal == 2)}>
			<{if $smarty.foreach.menus.iteration == 1}>
				<i class="iconfont">&#xe63c;</i>
			<{/if}>
		<{else}>
			<{if $smarty.foreach.menus.iteration == 1}>
				<i class="iconfont">&#xe625; </i>
			<{elseif $smarty.foreach.menus.iteration == 2}>
				<i class="iconfont">&#xe658;</i>
			<{elseif $smarty.foreach.menus.iteration == 3}>
				<i class="iconfont">&#xe657;</i>
			<{elseif $smarty.foreach.menus.iteration == 4}>
				<i class="iconfont">&#xe643;</i>
			<{elseif $smarty.foreach.menus.iteration == 5}>
				<i class="iconfont">&#xe62c;</i>
			<{/if}>
		<{/if}>
		<{$menus.label}>
		</h2>
        <ul class="member-menu-list">
          <{foreach from=$menus.items item=items}>
            <li>
              <a href="<{if $items.href}><{$items.href}><{else}><{link app=$items.app ctl=$items.ctl act=$items.link args=$items.args}><{/if}>"<{if ($current == $items.link || $items.link == $controller) && $items.ctl == 'site_member'}> class="active"<{/if}>><{$items.label}></a>
            </li>
          <{/foreach}>
        </ul>
      </div>
      <{/foreach}>
    </div>
  </div>
  <{include file=$_PAGE_ app=$app_id}>
</div>
